On Domain-speciic Macro Expansion and Its Use in Optimizing Code Generation Submission to Workshop on Domain-speciic Languages
نویسنده
چکیده
We identify two types of domain-speciic features in macro expansion systems: with the expansion-time values of domain-speciic attributes the user can control conditional expansion; domain-speciic actions are performed by the system, and we divide them into expansion-integrated and conversion-integrated ones. The domain of our implemented prototype system is machine-level code generation, but we also formulate a model intended to capture domain-speciic macro expansion in various domains. An important property of the model is that the expansion result is independent of the macro call expansion order.
منابع مشابه
Architecture Reuse through a Domain Speci c Language GeneratorS
While reuse of code is important, in order to make truly large gains in productivity and quality, reuse of software designs and their surrounding knowledge ooer the greater potential for return on investment. We believe this notion reeects the way expert designers and developers work. We believe that domain knowledge reuse in conjunction with reuse of the process of building domain{speciic desi...
متن کاملDomain-speciic Software Architecture Engineering Process Guidelines Adage-ibm-92-02 Version 2.0
\In order to reuse software, there needs to be software to reuse12]." One of the dilemmas that has prevented software developers from reusing software is the lack of software artifacts to use or the existence of artifacts that are diicult to integrate. Domain-Speciic Software Architectures (DSSAs) have been proposed 7] in order to address these issues. A DSSA not only provides a framework for r...
متن کاملDomain Speciic Embedded Compilers
Domain-speciic embedded languages (DSELs) expressed in higher-order, typed (HOT) languages provide a composable framework for domain-speciic abstractions. Such a framework is of greater utility than a collection of stand-alone domain-speciic languages. Usually, embedded domain speciic languages are build on top of a set of domain spe-ciic primitive functions that are ultimately implemented usin...
متن کاملDomain Speci c Embedded
Domain-speciic embedded languages (DSELs) expressed in higher-order, typed (HOT) languages provide a composable framework for domain-speciic abstractions. Such a framework is of greater utility than a collection of stand-alone domain-speciic languages. Usually, embedded domain speciic languages are build on top of a set of domain spe-ciic primitive functions that are ultimately implemented usin...
متن کاملWhat Makes a Good Domain-speciic Language? Apostle, and Its Approach to Parallel Discrete Event Simulation
General-purpose programming languages are a Good Thing, but domain-speciic languages can be better. Such languages provide a natural vocabulary for concepts that are fundamental to the problem domain, whilst with general-purpose languages one is reduced to idiom: idiom, moreover, that is of its very nature alien to the host language | not to mention uncheckable. In addition, domain knowledge of...
متن کامل